'''
i = 0
while i < 4:
    print(i * 100)
    i = i + 1
print("循环结束")
'''

# 计算输出 3 的 1~10 次方结果

i = 1
result = 3
while i <= 10:
    print(result)
    result = result * 3
    i = i + 1